﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;


namespace DungeonEye
{

	/// <summary>
	/// Messages to display on the screen
	/// </summary>
	class ScreenMessage
	{
		/// <summary>
		/// 
		/// </summary>
		/// <param name="msg"></param>
		/// <param name="col"></param>
		public ScreenMessage(string msg, Color col)
		{
			message = msg;
			color = col;
			dateTime = DateTime.Now;
		}


		/// <summary>
		/// Message to display
		/// </summary>
		public string Message
		{
			get
			{
				return message;
			}
		}
		string message;


		/// <summary>
		/// Color to use
		/// </summary>
		public Color Color
		{
			get
			{
				return color;
			}
		}
		Color color;


		/// <summary>
		/// Time of creation of the message
		/// </summary>
		public DateTime Date
		{
			get
			{
				return dateTime;
			}
		}
		DateTime dateTime;

	}
}
